package com.itpengwei.strategy;


/**
 * @author: pengwei
 * @date: 2019/11/28 2:30 下午
 * 代金券抵扣策略
 */
public class CashcouponPayment implements PaymentMethodBase {

    @Override
    public double payment(double totalmoney) {
        return totalmoney - 10;
    }
}
